package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	fmt.Println("Commencing countdown.")
	tick := time.Tick(1 * time.Second)

	for countdown := 10; countdown > 0; countdown-- {
		fmt.Println(countdown)
		<-tick
	}
	launch()
}

func launch() {

}

func crawl(urls []string) []string {

	return nil
}

func extractDemo(url string) (list []string, err error) {
	rand.Seed(time.Now().UnixNano())
	i := rand.Intn(10)
	time.Sleep(time.Duration(i))
	return []string{}, nil
}
